package services

import "errors"

type UserServiceInterface interface {
	GetName(userId string) (string, error)
}

type UserService struct {
}

func (s UserService) GetName(userId string) (string, error) {
	if len(userId) < 1 {
		return "", errors.New("params error")
	}
	return "user name", nil
}
